import VueRouter from "vue-router";
import Code from "@/components/Code";
import Login from "@/components/Login"

export default new VueRouter ({
    mode:"history",
    routes:[
       
        {
            
            path:'/Login',
            name:'Login',
            component:Login,
        },
        {
            path:'/Code',
            name:'Code',
            component:Code,
        },
        {
            path:'/',
            redirect:'/Login',
        }

    ]
})